package com.system.boot.rbac.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.system.api.rbac.entity.po.SysRole;
import com.system.api.rbac.entity.po.SysUserRoleRelation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: lslands
 * @description:
 * @version：v1.0
 * @date: 2024/6/3 09:31
 */
@Mapper
public interface UserRoleRelationMapper extends BaseMapper<SysUserRoleRelation> {

    /**
     * 批量插入
     * @param record 插入对象
     * @return int
     */
    int insertBach(@Param("record") List<SysUserRoleRelation> record);


}
